package com.wangyi.user.service;

import com.wangyi.user.domain.User;
import com.wangyi.basic.service.IBaseService;
import com.wangyi.user.dto.UserDto;

import javax.mail.MessagingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MeHa
 * @since 2022-06-02
 */
public interface IUserService extends IBaseService<User> {

    void phoneRegister(UserDto userDto);

    void emailRegister(UserDto userDto) throws MessagingException;

    void goLogin(Long id) throws MessagingException;
}
